import http from "@/http/request.js"

//获取详细地址
export const getAddress = (data) => {
	return http.request({
		url: `/v3/geocode/regeo?output=json&location=${data.longitude},${data.latitude}&key=${data.key}&radius=1000&extensions=all`,
		method: 'GET',
		// data: params
	})
}

//提交核销
export const getWeatherInfo = (data) => {
	return http.request({
		url: `v3/weather/weatherInfo`,
		method: 'GET',
		params: data
	})
}